<?php
//error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
$content = file_get_contents('content.txt');
//echo $content;
$content  = preg_replace("#<img.*src=\"(.*)\".*>#isU", '<img src="\\1" />', $content);
//preg_match_all("/<img.*src=\"(.*)\".*>/isU", $content, $matches);
//print_r($matches);exit();
print_r($content );exit();